package auth

import "gorm.io/gorm"

func SelectAccount(account string) func(db *gorm.DB) *gorm.DB {
	return func(db *gorm.DB) *gorm.DB {
		return db.Where("account = ?", account)
	}
}

func SelectPassword(password string) func(db *gorm.DB) *gorm.DB {
	return func(db *gorm.DB) *gorm.DB {
		return db.Where("password = ?", password)
	}
}
